<?php
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;

class RankSalarysTableSeeder extends Seeder
{
    /**
     * Run the database seeds
     * @return void
     */
    public function run()
    {
        App\Model\RankSalarys::truncate();
        DB::table('rank_salarys')->insert([
            ['name' => 'A1初级专员', 'parent_id' => 0],
            ['name' => 'A2高级专员', 'parent_id' => 0],
            ['name' => 'A3资深专员', 'parent_id' => 0],
            ['name' => 'B1主管', 'parent_id' => 0],
            ['name' => 'B2高级主管', 'parent_id' => 0],
            ['name' => 'B3资深主管', 'parent_id' => 0],
            ['name' => 'C1经理', 'parent_id' => 0],
            ['name' => 'C2高级经理', 'parent_id' => 0],
            ['name' => 'C3资深经理', 'parent_id' => 0],
            ['name' => 'D1总监', 'parent_id' => 0],
            ['name' => 'D2高级总监', 'parent_id' => 0],
            ['name' => 'D3资深总监', 'parent_id' => 0],
        ]);
    }
}
